﻿#region Copyright
// Please do not remove this section. If you can improve it further, you may send a copy to the
// author at azharkhan@hotmail.com 
// 
// Author : Azhar A. Khan
// Date : 08/27/2008
// Filename : HWGridView.cs
// History : 
//            08/27/2008 Initial Version
//            08/28/2008 Romoved  ApplyFilterCommand call from OnFilterCommand, since it will be called in OnPreRender
#endregion

using System;

namespace Entersoft.Web.UI.WebControls
{
    public delegate void FilterCommandEventHandler(object sender, FilterCommandEventArgs e);

    public class FilterCommandEventArgs : EventArgs
    {
        private string filterExpression;

        public FilterCommandEventArgs()
        {
        }

        public FilterCommandEventArgs(string filterExpression)
        {
            this.filterExpression = filterExpression;
        }

        public string FilterExpression
        {
            get
            {
                return this.filterExpression;
            }
            set
            {
                this.filterExpression = value;
            }
        }
    }
}
